package nancal.mp.db.mongo.entity.dev

import nbcp.base.db.CodeName
import nbcp.base.db.KeyValueString
import nbcp.base.db.annotation.Cn
import nbcp.base.db.annotation.DbEntityGroup
import nbcp.base.model.BaseMarkEntity
import org.springframework.data.mongodb.core.mapping.Document


@Document
@DbEntityGroup("dev")
@Cn("枚举")
open class DataEnum(
    @Cn("产品线")
    var productLine: CodeName = CodeName(),
    @Cn("应用")
    var app:String = "",
    var name: String = "",
    var cnName:String = "",
    @Cn("字段")
    var items: MutableList<KeyValueString> = mutableListOf(),
    var remark: String = ""
) : BaseMarkEntity()